fizzbuzz problem solved in javascript using es6